package com.cedifie.lendapp.ui.steps.impl

import com.cedifie.http.callback.StringCallback
import com.cedifie.lendapp.http.ApiService
import com.cedifie.lendapp.http.HttpHelper

/**
 * Cedifie
 * @Author wwdeng
 * @CreateTime: 2024/6/17 13:45
 * @Annotation：图片上传 Model 实现
 */
class CedUploadModelImpl {

    /**
     * 上传图片
     */
    fun onCedUploadImageAction(imgPath: String,callBack: StringCallback){
        val httpUrl = ApiService.getHttpUrl(ApiService.API_URL.CED_API_UPLOAD_FILE_URL)
        HttpHelper.uploadCedFileAction(httpUrl,imgPath,callBack)
    }
}